package com.mvu.banana.domain.stub;
import javax.validation.constraints.NotNull;
import com.mvu.banana.domain.impl.KeyableBean;
import javax.persistence.Entity;

@Entity
public class Post extends KeyableBean{

  @NotNull
  protected String content;

  public static final String CONTENT_PROP = "content";

  public String getContent(){
    return content;
  }

  public Post setContent(String p0){
    this.content = p0;
    return this;
  }

  public String toString(){
    StringBuilder builder = new StringBuilder();
    builder.append("content=").append(this.content).append(", ");
    return builder.toString();
  }
}